package itcz.example.pattern.structure_type.proxy.static_proxy;

/**
 * @ClassName: ProxyPoint
 * @Author: ITCZ
 * @Date: 2025-06-26
 * @Description: 代理类
 */
public class ProxyPoint implements SellTickets {
    // 声明火车站对象
    private TrainStation trainStation = new TrainStation();

    @Override
    public void sell() {
        System.out.println("代理点收取服务费");
        trainStation.sell();
    }
}
